<c:choose xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:c="http://java.sun.com/jstl/core"> 
        
    <c:when test="#{currentuser.logged}" >
        <ui:insert name="body" />
    </c:when>
    <c:otherwise>
        Vous devez etre connecte.
    </c:otherwise>
    
</c:choose>